//
//  BluetoothCenter+Editor.h
//  Holyiot-DFU
//
//  Created by bill on 2022/2/22.
//

#import "BluetoothCenter.h"

NS_ASSUME_NONNULL_BEGIN

@interface BluetoothCenter (Editor)
//修改设备名称
-(void)modifyDeviceName:(NSString*)deviceName;
//修改密码
-(void)modifyDevicePwd:(NSString*)password;
//修改major
-(void)modifyMajor:(NSString*)major;
//修改minor
-(void)modifyMinor:(NSString*)minor;
//修改mac
-(void)modifyMAC:(NSString*)mac;
//修改uuid
-(void)modifyUUID:(NSString*)uuid;
//修改发射功率
-(void)modifyTX_Power:(int)tx_power;
//修改广播间隔
-(void)modifyADV_interval:(int)interval;
//修改一米处的RSSI值
-(void)modifyOneMeterRSSI:(int)rssiValue;
//DFU升级
-(void)enterDFU;
//修改自定义广播数据
-(void)modifyCustomADV_data:(NSString*)hexString;
//获取温度,湿度,气压等
-(void)sendHexStringToDevice:(NSString*)cmd;
//控制外部设备
-(void)openExteralDevice:(BOOL)state;


//修改 eddystone UID name
-(void)modifyEddystone_UID_Adv_name:(NSString*)uid_Adv_name;
-(void)modifyEddystone_UID_namespaceID:(NSString*)uid_namespaceID;
-(void)modifyEddystone_UID_instanceID:(NSString*)uid_instanceID;
//修改eddystone URL name
-(void)modifyEddystone_URL_Adv_name:(NSString*)url_Adv_name;
-(void)modifyEddystone_URL_prefix_address:(NSInteger)type;
-(void)modifyEddystone_URL_content:(NSString*)url_content;
-(void)modifyEddystone_URL_subfix_address:(NSInteger)type;
//修改eddystone TLM name
-(void)modifyEddystone_TLM_Adv_name:(NSString*)TLM_Adv_name;
-(void)modifyEddystone_TLM_version:(NSInteger)TLM_version;
//修改eddystone EID name
-(void)modifyEddystone_EID_Adv_name:(NSString*)EIM_Adv_name;
-(void)modifyEddystone_EID_encryptedID:(NSString*)encryptedID;
//切换广播模式
-(void)changeAdvMode:(NSInteger)mode;
-(void)checkEddystoneAdvState;
@end

NS_ASSUME_NONNULL_END
